home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 174 < prev    next >
Encoding:
Text File  |  1996-08-05  |  713 b   |  27 lines

  1. Path: suse.de!news
  2. From: Richard Jelinek <rj@suse.de>
  3. Newsgroups: comp.lang.c++
  4. Subject: Negative array-index ?
  5. Date: Tue, 02 Jan 1996 15:37:00 +0100
  6. Organization: suse.de
  7. Message-ID: <30E9430C.4371B326@suse.de>
  8. NNTP-Posting-Host: abel.suse.de
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b2 (X11; I; Linux 1.3.30 i586)
  13.  
  14. Hi.
  15.  
  16. I have been trying to code some signal processing algorithms in C++. For
  17. digital filters I need to access "negative" array-indices. It is no
  18. problem to code this in an array-class (Everything below 0 is 0). But
  19. the compiler always warns about an negative Index.
  20.  
  21. How do I tell the compiler it's ok?
  22.  
  23.  
  24. -- 
  25. Ciao
  26.     Rico
  27.